<template>
	<view class="contact">
		<image  class='img' src="http://m.itheima.com/images/slidead/mobile/20191213180241750x410.jpg" mode=""></image>
		<view class="info">
			<view @click="makePhone">
				联系电话:17308641557(点击拨打)
			</view>
			<view >
				联系地址：广东省清远市职教城
			</view>
		</view>
		
		<map style="width: 750rpx; height: 750rpx;" :longitude="longitude" :scale="scale" :latitude="latitude" :markers="markers">
						</map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude:116.637417,
				latitude:23.210722,
				scale:19,
				markers:[
					{
						longitude:116.637417,
						latitude:23.210722,
						iconPath:'../../static/round.svg',
						height:30,
						width:30,
					}
				]
				
			}
		},
		methods: {
			makePhone(){
				uni.makePhoneCall({
					phoneNumber:17308641557
				})
			}
			
		}
	}
</script>

<style lang="scss">
	.contact{
		.img{
			width: 750rpx;
			height: 380rpx;
			
		}
		.info{
			font-size: 30rpx;
			padding: 10rpx 20rpx;
			view{
				line-height: 70rpx;
				border-bottom: 1px solid #eee;
			}
		}
		
	}
	

</style>
